/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */




namespace DGZImp.DemoProject.DomainModels;

[Entity(TableCnName = "客户管理", TableName = "Demo_Customer", DBServer = "ServiceDbContext")]
public partial class Demo_Customer : ServiceEntity
{
    /// <summary>
    ///
    /// </summary>
    [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
    [Key]
    [Display(Name = "Customer_Id")]
    [Column(TypeName = "int")]
    [Required(AllowEmptyStrings = false)]
    public int Customer_Id { get; set; }

    /// <summary>
    ///客户
    /// </summary>
    [Display(Name = "客户")]
    [MaxLength(200)]
    [Column(TypeName = "nvarchar(200)")]
    [Editable(true)]
    [Required(AllowEmptyStrings = false)]
    public string Customer { get; set; }

    /// <summary>
    ///手机
    /// </summary>
    [Display(Name = "手机")]
    [MaxLength(50)]
    [Column(TypeName = "varchar(50)")]
    [Editable(true)]
    [Required(AllowEmptyStrings = false)]
    public string PhoneNo { get; set; }

    /// <summary>
    ///省
    /// </summary>
    [Display(Name = "省")]
    [MaxLength(100)]
    [Column(TypeName = "nvarchar(100)")]
    [Editable(true)]
    [Required(AllowEmptyStrings = false)]
    public string Province { get; set; }

    /// <summary>
    ///市
    /// </summary>
    [Display(Name = "市")]
    [MaxLength(100)]
    [Column(TypeName = "nvarchar(100)")]
    [Editable(true)]
    [Required(AllowEmptyStrings = false)]
    public string City { get; set; }

    /// <summary>
    ///县
    /// </summary>
    [Display(Name = "县")]
    [MaxLength(50)]
    [Column(TypeName = "nvarchar(50)")]
    [Editable(true)]
    public string County { get; set; }

    /// <summary>
    ///详细地址
    /// </summary>
    [Display(Name = "详细地址")]
    [MaxLength(500)]
    [Column(TypeName = "nvarchar(500)")]
    [Editable(true)]
    public string DetailAddress { get; set; }

    /// <summary>
    ///备注
    /// </summary>
    [Display(Name = "备注")]
    [MaxLength(200)]
    [Column(TypeName = "nvarchar(200)")]
    [Editable(true)]
    public string Remarks { get; set; }

    /// <summary>
    ///
    /// </summary>
    [Display(Name = "CreateId")]
    [Column(TypeName = "bigint")]
    public long? CreateId { get; set; }

    /// <summary>
    ///创建人
    /// </summary>
    [Display(Name = "创建人")]
    [MaxLength(30)]
    [Column(TypeName = "nvarchar(30)")]
    public string Creator { get; set; }

    /// <summary>
    ///创建时间
    /// </summary>
    [Display(Name = "创建时间")]
    [Column(TypeName = "datetime")]
    public DateTime? CreateTime { get; set; }

    /// <summary>
    ///
    /// </summary>
    [Display(Name = "ModifyId")]
    [Column(TypeName = "bigint")]
    public long? ModifyId { get; set; }

    /// <summary>
    ///修改人
    /// </summary>
    [Display(Name = "修改人")]
    [MaxLength(30)]
    [Column(TypeName = "nvarchar(30)")]
    public string Modifier { get; set; }

    /// <summary>
    ///修改时间
    /// </summary>
    [Display(Name = "修改时间")]
    [Column(TypeName = "datetime")]
    public DateTime? ModifyTime { get; set; }


}